package com.dog.basics.bean.vo.api.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author zmr
 * @since 2020-05-22
 */
@Data
public class ApiArticleVo implements Serializable  {

    private static final long serialVersionUID = 1L;

    /**
     * 文章id
     */
    @ApiModelProperty(value = "文章id", dataType = "Long")
    private Long id;

    /**
     * 文章标题
     */
    @ApiModelProperty(value = "文章标题", dataType = "String")
    private String title;

    /**
     * 文章分类id
     */
    @ApiModelProperty(value = "文章分类id", dataType = "Long")
    private Long classId;

    /**
     * 文章分类
     */
    @ApiModelProperty(value = "文章分类", dataType = "String")
    private String className;

    /**
     * 文章短标题
     */
    @ApiModelProperty(value = "文章短标题", dataType = "String")
    private String shortTitle;

    /**
     * 文章来源
     */
    @ApiModelProperty(value = "文章来源", dataType = "String")
    private String source;

    /**
     * 文章来源链接
     */
    @ApiModelProperty(value = "文章来源链接", dataType = "String")
    private String url;

    /**
     * 文章作者
     */
    @ApiModelProperty(value = "文章作者", dataType = "String")
    private String author;

    /**
     * 文章摘要
     */
    @ApiModelProperty(value = "文章摘要", dataType = "String")
    private String summary;

    /**
     * 文章正文
     */
    @ApiModelProperty(value = "文章正文", dataType = "String")
    private String content;

    /**
     * 文章标题图片
     */
    @ApiModelProperty(value = "文章标题图片", dataType = "String")
    private String image;

    /**
     * 文章关键字
     */
    @ApiModelProperty(value = "文章关键字", dataType = "String")
    private String keyword;

    /**
     * 相关文章
     */
    @ApiModelProperty(value = "相关文章", dataType = "List<String>")
    private List<String> articleIdArrayList;

    /**
     * 文章点击量
     */
    @ApiModelProperty(value = "文章点击量", dataType = "Integer")
    private Integer click;

    /**
     * 文章排序0-255
     */
    @ApiModelProperty(value = "文章排序0-255", dataType = "Integer")
    private Integer sort;

    /**
     * 文章是否标志 0是 1否
     */
    @ApiModelProperty(value = "文章是否标志 0是 1否", dataType = "Integer")
    private Integer commendFlag;

    /**
     * 是否允许评论 0是 1否
     */
    @ApiModelProperty(value = "是否允许评论 0是 1否", dataType = "Integer")
    private Integer commentFlag;

  /*
    @ApiModelProperty(value = "0-草稿、1-待审核、2-已发布、-1-回收站", dataType = "Integer")
    private Integer status;*/

    /**
     * 文章附件路径
     */
    @ApiModelProperty(value = "文章附件路径", dataType = "List<String>")
    private List<String> attachmentPathList;

    /**
     * 文章标签
     */
    @ApiModelProperty(value = "文章标签", dataType = "String")
    private String tag;

    /**
     * 文章评论数
     */
    @ApiModelProperty(value = "文章评论数", dataType = "Integer")
    private Integer commentCount;

    /**
     * 文章分享数
     */
    @ApiModelProperty(value = "文章分享数", dataType = "Integer")
    private Integer shareCount;

    /**
     * 发布者用户名
     */
    @ApiModelProperty(value = "发布者用户名", dataType = "String")
    private String publisherName;


    /**
     * 最新评论时间
     */
    @ApiModelProperty(value = "最新评论时间", dataType = "Long")
    private Long lastCommentTime;

    /**
     * 发布时间
     */
    @ApiModelProperty(value = "发布时间", dataType = "Long")
    private Long publicTime;


}
